package com.neuedu.his.controller;


import com.neuedu.his.po.Settlecategory;
import com.neuedu.his.service.SettlecategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;

@RestController
@RequestMapping("/settleCategory")
public class SettlecategoryController {

@Autowired
SettlecategoryService service;

    @RequestMapping("/list")
    public List<Settlecategory> list(){
        return  service.list();
    }

}
